import React, { useState } from 'react'
import { Breadcrumb, Select, Input, Steps } from 'antd'
import '../assets/styles/YseckillAdd.less'

const { Step } = Steps;
import Son from '../marketing/Ystepones'


export default function seckillAdd(props:any) {
  
    const [steps,setsteps]=useState(0)
    function stepsChange(e:any) {
          console.log(e);
          
    }
    return (   
        <div className="YseckillAdd">
            <div className="top">
                <Breadcrumb>
                    <Breadcrumb.Item>主页</Breadcrumb.Item>
                    <Breadcrumb.Item>营销</Breadcrumb.Item>
                    <Breadcrumb.Item>
                        <a href="/seckill">秒杀管理</a>
                    </Breadcrumb.Item>
                    <Breadcrumb.Item>
                        <a href="/seckillShop" className="skeill">添加商品</a>
                    </Breadcrumb.Item>
                </Breadcrumb>
            </div>
            <div>
                <Steps current={steps} onChange={(e)=>stepsChange(e)}>
                    <Step title="选择秒杀商品"></Step>
                    <Step title="填写基础信息" />
                    <Step title="修改商品详情" />
                </Steps>
            </div>
            <Son></Son>
           
        </div>
    )
}
